package com.youkeyi.ddy.cloud.common.api.basic.crm.config;

import com.youkeyi.ddy.cloud.common.api.basic.crm.config.dto.CrmCustomerInputConfigListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.crm.config.param.CrmCustomerInputConfigCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.config.param.CrmCustomerInputConfigDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.config.param.CrmCustomerInputConfigQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.crm.config.param.CrmCustomerInputConfigUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * CrmCustomerInputConfigCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 2024/3/1 10:54 AM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/crm/customer/input/config/fallback")
public class CrmCustomerInputConfigCloudServiceFallback implements CrmCustomerInputConfigCloudService {

    @Override
    public CrmCustomerInputConfigListCloudDto query(CrmCustomerInputConfigQueryCloudParam param) {
        return new CrmCustomerInputConfigListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(CrmCustomerInputConfigCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(CrmCustomerInputConfigUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(CrmCustomerInputConfigDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
